import { RouteRecordRaw } from 'vue-router';

export default {
  path: '/automatic',
  name: 'automatic',
  redirect: '/automatic/setting',
  component: () => import('@/layout/index.vue'),
  meta: {
    title: 'menus.automatic',
    icon: 'el-icon-setting',
    sort: 7
  },
  children: [
    {
      path: '/automatic/setting',
      name: 'automatic_setting',
      component: () => import('@/views/automatic/setting/index.vue'),
      meta: {
        title: 'menus.automatic_setting',
        icon: 'el-icon-more',
        isChildren:true
      }
    },
    {
      path: '/automatic/models',
      name: 'automatic_models',
      component: () => import('@/views/automatic/models/index.vue'),
      meta: {
        title: 'menus.automatic_models',
        icon: 'el-icon-more',
        isChildren:true
      }
    },
  ]
} as RouteRecordRaw;
